home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / windows 95 utilities / programming tools / freeman installer / unzldr.h_ / unzldr
Text File  |  1995-09-17  |  552b  |  34 lines

  1. #define __UNZLDR_H
  2.  
  3.  
  4. #ifndef __STDIO_H
  5. #include "stdio.h"
  6. #endif
  7. #ifndef __DLLLDR_H
  8. #include "dllldr.h"
  9. #endif
  10.  
  11.  
  12. class lzpunzldr:public dllldr
  13. {
  14.    public:
  15.  
  16.    enum
  17.    {
  18.       ZIP_ANY = 0, ZIP_PKW = 1, ZIP_GNU = 2
  19.    };
  20.  
  21.    int init()
  22.    {
  23.       return dllldr::init("lzpunz32.dll");
  24.    }
  25.    int   LzpGetError();
  26.    int   LzpUnzAlloc();
  27.    int   LzpUnzOpen(char path[], int ziptype);
  28.    int   LzpUnzRead(char buf[], unsigned len);
  29.    int   LzpUnzClose();
  30.    void  LzpUnzFree();
  31.    DWORD LzpGetOrigSize(char path[]);
  32. };
  33.  
  34.